Mining Social Media: Finding Stories in Internet Data by Lam Thuy Vo

Mining Social Media: Finding Stories in Internet Data by Lam Thuy Vo

Author:Lam Thuy Vo [Vo, Lam Thuy]
Language: eng
Format: epub, pdf
Tags: Computers, Programming Languages, Python, Web, social media, Data Visualization
ISBN: 9781593279165
Google: T1v6DwAAQBAJ
Publisher: No Starch Press
Published: 2019-11-21T20:30:15.584013+00:00


Storing the Page Content in Variables

Given what we know now about the code, let’s recap what we have to do after opening the page:

Grab every unordered list of names from the first page.

Extract information from each list item, including the name of the woman computer scientist, the link to her profile, and the letter she is categorized under.

Create a row of data based on this information and write each row into a .csv file.

To help us visualize what this data set may look like and how we would organize it, the spreadsheet in Figure 5-6 structures our data based on our instructions.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.